Mac 使用 oh my zsh 替代原有shell

安装

1
sh -c "\$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

OhMyZsh Git 地址

https://github.com/robbyrussell/oh-my-zsh

卸载

1
uninstall_oh_my_zsh

安装插件

打开 $HOME/.zshrc 找到 plugins=(git) 添加需要的插件, 看我的:

1
plugins=(git bundler osx golang grunt gulp history npm nvm python redis-cli svn torrnet vim-interaction yum)

需要的插件:

https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins

安装主题

选择主题:

https://wiki.github.com/robbyrussell/oh-my-zsh/themes

https://github.com/robbyrussell/oh-my-zsh/wiki/External-themes

更改 ~/.zshrc 中 ZSH_THEME=”robbyrussell” 即可

Donate - Support to make this site better.
捐助 - 支持我让我做得更好.